this.name = '测试线程'
console.log('这是一个子线程')

self.addEventListener('message', function (e) {
  console.log(e)
  self.postMessage('You said: ' + e.data);
}, false);